package com.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 */
public class Product implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "prod_id", type = IdType.AUTO)
    private Long prodId;

    /**
     * 商品名称
     */
    private String prodName;

    /**
     * 商品类型
     */
    private String prodType;

    /**
     * 商品介绍
     */
    private String prodBatch;

    /**
     * 单位
     */
    private String prodUnit;

    /**
     * 价格
     */
    private BigDecimal prodPrice;

    /**
     * 描述
     */
    private String prodMemo;

    public Long getProdId() {
        return prodId;
    }

    public void setProdId(Long prodId) {
        this.prodId = prodId;
    }

    public String getProdName() {
        return prodName;
    }

    public void setProdName(String prodName) {
        this.prodName = prodName;
    }

    public String getProdType() {
        return prodType;
    }

    public void setProdType(String prodType) {
        this.prodType = prodType;
    }

    public String getProdBatch() {
        return prodBatch;
    }

    public void setProdBatch(String prodBatch) {
        this.prodBatch = prodBatch;
    }

    public String getProdUnit() {
        return prodUnit;
    }

    public void setProdUnit(String prodUnit) {
        this.prodUnit = prodUnit;
    }

    public BigDecimal getProdPrice() {
        return prodPrice;
    }

    public void setProdPrice(BigDecimal prodPrice) {
        this.prodPrice = prodPrice;
    }

    public String getProdMemo() {
        return prodMemo;
    }

    public void setProdMemo(String prodMemo) {
        this.prodMemo = prodMemo;
    }

    @Override
    public String toString() {
        return "Product{" +
        "prodId = " + prodId +
        ", prodName = " + prodName +
        ", prodType = " + prodType +
        ", prodBatch = " + prodBatch +
        ", prodUnit = " + prodUnit +
        ", prodPrice = " + prodPrice +
        ", prodMemo = " + prodMemo +
        "}";
    }
}
